﻿{extend name="public:base"}
{block name="content"}
<!-- /.aside -->
<section id="content">
    <section class="hbox stretch">
        <aside>
            <section class="vbox">
                <header class="header bg-white b-b clearfix">
                    {include file="public:mylocal" /}
                    <div class="row m-t-sm">
                        <div class="col-sm-8 m-b-xs">
                            <div class="btn-group">
                                <button type="button" class="btn btn-sm btn-default refresh" title="点击刷新"><i
                                        class="fa fa-refresh"></i></button>
                                <button type="button" class="btn btn-sm btn-default remove_multi"
                                        table_data="news,id,false" title="批量删除" ><i
                                        class="fa fa-trash-o"></i></button>
                            </div>
                            <a href="javascript:void(0);" url="{:url('con_add')}"
                               class="layer_new_page btn btn-sm btn-default" title="新增内容" >
                                <i class="fa fa-plus"></i> 新增内容
                            </a>
                        </div>
                        <!-- 搜索 -->
                        <div class="col-sm-2 m-b-xs">
                            <div class="input-group">
                                <select class="input-sm form-control m-b"
                                        onchange="self.location = '/console/news/con_lists.html?cate_id='+this.value">
                                    <option value=""> - 栏目筛选 -</option>

                                    <option value="" cate_type="">



                                    </option>

                                </select>
                            </div>
                        </div>

                        <div class="col-sm-2 m-b-xs">
                            <div class="input-group">
                                <input type="text" class="input-sm form-control" placeholder=" 标题关键词搜索" id="keywords"
                                       value="">
                                <span class="input-group-btn"
                                      onclick="self.location = '/console/news/con_lists.html?keywords='+document.getElementById('keywords').value">
                      <button class="btn btn-sm btn-default" type="button">搜索</button>
                      </span></div>
                        </div>

                    </div>
                </header>
                <section class="scrollable wrapper w-f" id="con_lists" style="top:65px;">
                    <section class="panel panel-default">
                        <div class="table-responsive">
                            <table class="table table-striped m-b-none">
                                <thead>
                                <tr>
                                    <th width="2%">
                                        <input type="checkbox">
                                    </th>
                                    <th width="5%" class="text-center">ID</th>
                                    <th width="20%" class="text-center">新闻标题</th>
                                    <th width="8%" class="text-center">所属栏目</th>
                                    <th width="5%" class="text-center">审核状态</th>

                                    <th width="8%" class="text-center">添加时间</th>
                                    <th width="6%" class="text-center">操作</th>
                                </tr>
                                </thead>
                                <tbody>

                                <tr>
                                    <td>
                                        <input type="checkbox" name="keyid[]" value="">
                                    </td>



                                    <td class="text-center" >

                                        <a href="javascript:void(0);" class=" change_state"
                                           table_data="">id</a>

<!--                                        <a href="javascript:void(0);" class="btn-danger change_state"-->
<!--                                           table_data="">待审核</a>-->

                                    </td>

                                    <td class="text-center" >

                                        <a href="javascript:void(0);" class=" change_state"
                                           table_data="">新闻标题</a>

<!--                                        <a href="javascript:void(0);" class="btn-danger change_state"-->
<!--                                           table_data="">否</a>-->
                                    </td>

                                    <td class="text-center">

                                        <a href="javascript:void(0);" class=" change_state"
                                           table_data="news,id,is_rec">所属栏目</a>

<!--                                        <a href="javascript:void(0);" class="btn-danger change_state"-->
<!--                                           table_data="news,id,is_rec">否</a>-->

                                    </td>

                                    <td class="text-center" >
                                        审核状态
                                    </td>

                                    <td class="text-center">添加时间</td>

                                    <td class="text-center">
                                        <a href="javascript:void(0);"
                                           url="{:url('con_add')}"
                                           class="layer_new_page active" data-toggle="class" title="编辑"
                                          >
                                            <i class="fa fa-edit "></i>
                                        </a>&nbsp;&nbsp;
                                        <a href="javascript:void(0);" class="active remove_single"
                                           table_data="news,id,false" data-toggle="class" title="删除"
                                          >
                                            <i class="fa fa-trash-o"></i>
                                        </a>
                                    </td>
                                </tr>

                                </tbody>
                            </table>
                        </div>
                    </section>
                    {include file="public:con_lists_total" /}
                </section>
                {include file="public:con_lists_footer" /}
            </section>
        </aside>
    </section>

</section>
</section>
</section>
{/block}
{/extend}
